package com.zy.datareceiver.binsess.status.mapper;

import com.zy.datareceiver.binsess.status.entity.Passageway;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
@Repository
public interface PassagewayMapper {
    void saveConnectionExceptionByType(@Param("id") Integer id);
    void saveConnectionExceptionById(@Param("id") Integer id);

    List<Passageway> selectAll();

    List<Passageway> selectByType(@Param("typeId") Short typeId);

    void updateRecoverConnectionByType(@Param("sendTypeId") Integer sendTypeId);

    void updateDisConnectionByType(Integer sendTypeId);
}
